All Questions
Tagged with bad-codedesign-patterns
3 questions
10votes
4answers
3kviews
is this way of calling a function a bad practice?
I have the following code: public void moveCameraTo(Location location){ moveCameraTo(location.getLatitude(), location.getLongitude()); } public void moveCameraTo(double latitude, double ...
209votes
4answers
102kviews
What is an Anti-Corruption layer, and how is it used?
I'm trying to figure out what the Anti-Corruption layer really means. I know that it's a way to transition/work around legacy code or bad APIs. What I don't understand is how it works and what makes ...
30votes
12answers
22kviews
What design patterns are the worst or most narrowly defined? [closed]
For every programming project, managers with past programming experience try to shine when they recommend some design patterns for your project. I like design patterns when they make sense or if you ...